package com.example.book_recommend.dao;

import com.example.book_recommend.entity.Cart;

import java.util.ArrayList;

public interface CartMapper {
    int deleteByPrimaryKey(Integer cartId);

    int insert(Cart record);

    int insertSelective(Cart record);

    Cart selectByPrimaryKey(Integer cartId);

    int updateByPrimaryKeySelective(Cart record);

    int updateByPrimaryKey(Cart record);

    ArrayList<Cart> selectAll();

    ArrayList<Cart> selectByUid(int uid);
}